<template>
    <div class="youhaohuo">
        <el-container>
          <div class="tu">
             <img src="../assets/youhaohuo/1.png" alt="" width="60%">
             <h2 class="pin">与品质生活不期而遇</h2>
          </div>
        </el-container>
    </div>
</template>
<style>
.youhaohuo{
  background-color:red ;
  width: 1200px;
  height: 500px;
  text-align:center;
}
.tu{
    background-color:red ;
   margin-left:20px ; 
   float: left;
}
.pin{
    float: left;
}
</style>